Fix the fix to the last commit
authorEmmanuele Bassi <ebassi@gnome.org>
Wed, 16 Dec 2015 12:42:27 +0000 (12:42 +0000)
committerEmmanuele Bassi <ebassi@gnome.org>
Wed, 16 Dec 2015 12:42:27 +0000 (12:42 +0000)
I should not push while compilation is still going on

gdk/gdkpixbuf-drawable.c

index f865e32b89aca67ccb3978275881712b6715ceea..d2c142ae433796326ae70cb2f474aa7b33e26ea0 100644 (file)
@@ -97,7 +97,7 @@ gdk_pixbuf_get_from_window (GdkWindow *src,
   g_return_val_if_fail (gdk_window_is_viewable (src), NULL);
 
   surface = _gdk_window_ref_cairo_surface (src);
-  scale = gdk_window_get_scale_factor (window);
+  scale = gdk_window_get_scale_factor (src);
 
   /* We do not know what happened to this surface outside of GDK.
    * Especially for foreign windows, they will have been modified